home *** CD-ROM | disk | FTP | other *** search
/ STraTOS 1997 April & May / STraTOS 1 - 1997 April & May.iso / CD01 / INTERNET / SITES / KELLIS / UTIL.ZIP / UTIL / WHATIS63 / WHATIS63.DO next >
Encoding:
Text File  |  1992-07-29  |  24.8 KB  |  569 lines

  1.                       WHATIS File Identifier v6.3
  2.                   Copyright (c)1989-92 by Bill Aycock
  3.  
  4.  
  5. WHATIS is a simple program that will identify over 125 different types of
  6. files. It is mouse-driven and easy to use; everything is done from a single
  7. dialog box.  Whatis runs in any resolution on any ST or TT, and uses under 17K
  8. of your system's RAM.  This version will work as either a standalone program or
  9. as a desk accessory (just rename the program file to .PRG or .ACC as you wish).
  10.  
  11. When run as a desk accessory, versions 5.2 and up of Whatis can act as a
  12. "Whatis server" - specially-written programs can use Whatis to identify file
  13. types for them!  (See the Whatis Server appendix for details.)  Starting with
  14. version 5.3, you may also pass a filespec to Whatis on the command line to run
  15. it as a TTP-like program.
  16.  
  17.  
  18. Why use Whatis?  Let's say you're on your favorite BBS, and download a file
  19. called SUPER.ARC.  You fire up your Arc Shell to extract the file, and it says
  20. "I don't know how to handle this file!".  Whip out Whatis and take a look, and
  21. you find out the file is really an LHarc archive - the uploader used the wrong
  22. extender!  Just rename the file to SUPER.LZH and you're all set.
  23.  
  24. Another, darker scenario... a virus sneaks into your system and erases your
  25. hard drive's directory.  Fortunately, you have a program that can recover your
  26. files - unfortunately, it names all the files FILE0001, FILE0002, and so on!
  27. Spend a little time with Whatis, and you may not figure out each file's
  28. original name, but at least you'll know which are programs, which are .PI1s,
  29. which are Calamus docs... a real help if you need it.
  30.  
  31.  
  32.  
  33.       Using Whatis
  34.       ------------
  35.  
  36.  
  37. Either run Whatis as a GEM program or choose Whatis from the Desk menu, and
  38. the Whatis dialog box will appear.  Under the title bar you'll see three boxes
  39. for a filename and file type, a file's header bytes, and the header byte
  40. display mode. At the bottom of the dialog are three action buttons, marked
  41. "Choose a file", "Next file", and "Exit".
  42.  
  43. To use Whatis, either click on "Choose a file" or just press C or Return or
  44. the down arrow. You'll be presented with the GEM file selector; use the file
  45. selector to choose your mystery file.  Whatis will read the first few bytes of
  46. the file in question and check if these bytes match a known "signature" of a
  47. specific type of file.  (Note: Whatis needs at least eight bytes to make a
  48. reasonable guess of the file type; if your file is too small, you'll see an
  49. error message and you'll get a chance to choose another file.)
  50.  
  51. Then you'll return to the Whatis box.  The small message box in the main
  52. title bar displays the path you selected.  The first large box under the title
  53. bar shows the name of the file you chose, its size (in small numbers on the
  54. upper right), and the type of file it is.  If Whatis doesn't recognize the file
  55. type, it will show up as "text or data".  The next box, labeled "header bytes",
  56. displays the first few bytes of your file.  You can view this file header in
  57. either hexadecimal or ASCII form;  click the "ASCII" or "HEX" button, as
  58. desired, in the small box under the header byte display, or press the left or
  59. right arrow keys.
  60.  
  61. If you used any wildcards when you selected your mystery file, the "Next
  62. file" button at the bottom of the screen will be enabled (not grayed out), and
  63. it will be the default button (signified by a thicker border).  To check the
  64. next file that matches the filename pattern you chose, simply click this button
  65. or press Return, or the space bar or down arrow.  (Note: files matching the
  66. file mask are NOT displayed in alphabetical order; they appear in the same
  67. order as they are on disk.)
  68.  
  69. From the main dialog you can identify another file, or return to whatever you
  70. were doing by clicking the EXIT button or pressing UNDO or ESCape.  Simple!
  71.  
  72.  
  73. You can reposition the Whatis dialog anywhere on screen.  Click on the title
  74. area in the dialog, hold the mouse button down, and drag the outline wherever
  75. you wish.  When you release the button, the Whatis dialog appears in the new
  76. location.  If Whatis is running as a resident accessory, the new position is
  77. saved between calls.
  78.  
  79.  
  80. A complete list of the file types Whatis can recognize is included at the end
  81. of this document.  Unfortunately, many file types do not contain a unique
  82. signature in the first few bytes; Whatis can't identify such files unless a
  83. certain file type is always a specific size (e.g., Degas .PI? pics).
  84.  
  85. Note that it _is_ possible to fool Whatis.  If a data file happens to start
  86. with the same sequence of bytes as some other file type, it will be identified
  87. incorrectly.  It is also difficult to distinguish between certain types of
  88. files - for example, the signatures of low-rez TINY pics, resource files,
  89. Neochrome pictures, and 8-bit Scrunch files look the same, so the ID box lists
  90. all of those types.  Low-rez TINY pics produced with Vidi-ST sometimes look
  91. identical to SAVEd BASIC (8-bit) files, so both types are listed in that box.
  92.  
  93.  
  94.  
  95.       Whatis and the Command Line
  96.       ---------------------------
  97.  
  98.  
  99. Whatis will accept a file spec on the command line in case you wish to run it
  100. as a TTP-like program.  If you pass Whatis a command line, it will display a
  101. list of the file name and type for all matching files. Your command line can
  102. contain a full filespec, or just a path or filename (which may include
  103. wildcards).  If you don't include a filename, all files in the path you specify
  104. are checked; if you leave out the path, Whatis will check all the files in your
  105. current directory that match the filename.
  106.  
  107. Leading and trailing blanks on the command line are ignored, and if you pass
  108. more than one filespec only the last is used.  Normally Whatis will pause after
  109. every 23 files and after all files have been displayed, and wait for you to
  110. press a key before continuing.  If you press ESC or UNDO at this point, Whatis
  111. will exit even if there are more files to identify.  (If you end the command
  112. line with a plus sign ('+'), Whatis will _not_ perform these pauses.  See the
  113. section below on setting a default pause mode for more information.)
  114.  
  115. Command line mode can be useful if you wish to run Whatis from a CLI (command
  116. line interface), or from within a terminal program such as Flash.  To run
  117. Whatis from within Flash, enter a command like this on the command line:
  118.  
  119.             Command> exec whatis e:\today\*.*
  120.  
  121. This command will make Whatis check every file in your E:\TODAY\ folder and
  122. display a line showing the filename and file type.  From a real CLI, enter
  123.  
  124.             whatis e:\today\*.*
  125.  
  126. and Whatis will show you the same display, then wait for you to press a key.
  127.  
  128.  
  129. NOTE: If the command line you pass is empty, or contains all blanks or just a
  130. plus sign, Whatis will display its dialog box just as if you had run it as a
  131. standard GEM program.  If you've run Whatis as a real TTP program, the mouse
  132. may be turned off when the dialog appears.  If this happens, you may be able to
  133. run Whatis using the keyboard equivalents instead of the mouse (UNDO to exit,
  134. RETURN to select a file, etc.).  This is different from the behaviour of a real
  135. TTP-only program, which is the reason for the term "TTP-like".
  136.  
  137.  
  138.  
  139.       Whatis and Data Diet
  140.       --------------------
  141.  
  142.  
  143. Data Diet is Double Click Software's excellent program for saving huge gobs
  144. of space on your hard disk.  Although Whatis can recognize DD 'dietized' files,
  145. there's a catch- you can't have DD active in your system to find one!!  The
  146. reason is simple... Data Diet acts behind the scenes.  When a program (e.g.,
  147. Whatis) reads a file, DD quickly and silently decodes the file to its original
  148. form before the program gets the data.  That means there's no DD identifier to
  149. find, so Whatis reports the actual file type.
  150.  
  151.  
  152.  
  153.       Setting a Default Path and Pause Mode
  154.       -------------------------------------
  155.  
  156.  
  157. When you run Whatis, the file selector normally comes up preset to the root
  158. directory of the drive Whatis loaded from.  But if you normally download files
  159. to a particular folder, it would be more convenient for the file selector to
  160. start out in that folder.  You can do this by setting a default path for Whatis
  161. to check.  You may also tell Whatis NOT to pause automatically in TTP mode, in
  162. case you're running from a real CLI.
  163.  
  164. You'll need to use an editor that can edit program files.  CodeHead's Lookit!
  165. is great for this, and other programs like MemFile or TinyTool will work too. 
  166. Load Whatis into the editor and look near offset $25 from the beginning of the
  167. program (or $3A9 if you've run Whatis through DC-Squish).  You'll see the
  168. phrase "Defaults:  Pause=Y  Path=?:" followed by a bunch of zero bytes.  To
  169. turn the default pause mode off, change the 'Y' to any other character.  To set
  170. up a default search path, change the ? to the drive of your choice and add a
  171. valid path, ending with a \ character, if you wish.  Save the file when you're
  172. done, and next time you load Whatis, the file selector will start up in the
  173. desired path.  If the path doesn't exist, Whatis will start out in the root
  174. directory of that drive; if the drive itself isn't present in your system,
  175. Whatis will just start out as if you hadn't set up a default path.
  176.  
  177. You may view your default settings from the Whatis dialog.  To do so, press
  178. the HELP key or click the "Go Ataripro on Compuserve..." text field at the very
  179. bottom of the dialog.  The display will cycle between the Go Ataripro message,
  180. a display of your default path, and a display of the command line pause mode.
  181.  
  182.  
  183.  
  184.       Credits
  185.       -------
  186.  
  187.  
  188. Whatis was based on Roy Goldman's Compactor Detector, an 8-bit BASIC program
  189. which identifies files and allows renaming them to have a "standard" extender.
  190. Versions 3.2 and up of Whatis were written in 100% assembler code using HiSoft
  191. DevpacST, and the resource was created using WERCS.  The 8-bit version of
  192. Whatis was written in Action!, from the folks at ICD.
  193.  
  194. I'm always looking for more file types to support in Whatis.  If you know of
  195. a particular type of file that always start with the same few bytes, or is
  196. always the same size, leave me a message.  And, of course, if you have any
  197. problems, questions, comments, or suggestions, PLEASE let me know!
  198.  
  199. I hope you find this program useful!  If you use it, please send a postcard
  200. (or donation! :-) to me at:
  201.  
  202.             Bill Aycock
  203.             2310 North Elm Street
  204.             Greensboro, NC 27408-5120
  205.  
  206.             August 1, 1992
  207.  
  208.             CompuServe UserID: 76703,4061
  209.             Internet: 76703.4061@compuserve.com
  210.  
  211.  
  212.  
  213. Appendix 1: Version History
  214. ---------------------------
  215. v6.3: adds 7 kinds of Cubase files (thanks to Frank Zeritsch!), recognizes
  216.       'LARC' mode (-lz5-) LZH files and Cal 6.3 data files
  217. v6.2: adds STDCAT (thanks to Walter Cole!), Pack-Ice, and Calligrapher files,
  218.       pause mode toggle, displays of defaults/last path used/server actions
  219. v6.1: adds Scanner Manager (thanks to Gordon Meyer!) and LDW Power, Gnu .OLB,
  220.       TADS save files, several TeX files (thanks to Christopher Browne!)
  221. v6.0: adds Revolver 'rollout' files (thanks to Tim Patrick!) and WARP9.DAT
  222. v5.9: adds over a dozen new types (thanks mostly to Gordon Meyer!)
  223. v5.8: adds Squeezed and ARJ files, notes GIF version in the ID msg
  224. v5.7: adds Timeworks DTP files (thanks to Ira Brickman!), STalker3 .INF
  225. v5.6: adds Superzap files, notes LZH version in the ID msg
  226. v5.5: adds Joppa Fax files (thanks to Charles Smeton!), larger stack to
  227.       correct TTP operation, allows repositioning the dialog
  228. v5.4: adds MWC .RSD files, AS/X files (thanks to Chris Sorensen again!),
  229.       allows plus-sign pause character in TTP mode
  230. v5.3: adds command-line TTP-like operation
  231. v5.2: first Whatis Server version; adds Newdesk icons, Software Development
  232.       Systems DeskJet and Printer Utility Pak setup files (thanks to Scott
  233.       Sanders!), PFX-packed and AFX-compressed files (thanks to Mark Spacek!)
  234.       and MSDOS .EXE and .COM files (thanks to Ron Luks!)
  235. v5.1: adds FSM-GDOS OTL, QFM, WID files
  236. v5.0: adds these file types (thanks to Chris Herborth!): Unix compressed,
  237.       CG fonts, CPXes, SoftLogik screen bitmaps, several PostScript types
  238. v4.9: adds MIDI (thanks again to Chris Sorensen!) and MasterTracks .MTS
  239.       files, size display; logic change for more reliable results w/wildcards
  240. v4.8: adds PGC (thanks to Chris Sorensen!), Cal, Data Diet files
  241. v4.7: adds ZOO and MultiDesk Deluxe files; allows default drive/path
  242. v4.6: adds Opus spreadsheet files, 3 kinds of Wordflair II files;
  243.       adds command keys; makes Next button default if valid
  244. v4.5: adds DC Squish files (thanks to Mike Vederman!), Neodesk icon files;
  245.       allows wildcards to check a number of files at once
  246. v4.4: adds two Notator file types (thanks to Brian Campbell!)
  247. v4.3: adds DCDesktop icon files (thanks to Jim Ness!); some logic changes
  248. v4.2: adds A-CHART, Seurat, WP macro, HotWire ledgers (thanks Gordon Meyer!)
  249. v4.1: adds PKZIP files, new NEO types, 7 Prism-Paint file types
  250. v4.0: first revision without separate resource file
  251. v3.7: adds IFF files (thanks to Ron Hunt!), QFL files, PageStream fonts
  252. v3.6: adds CAD-3D (thanks to David Ramsden!) and Blink data files
  253. v3.5: adds WordUp & WWST files (thanks to Terry May again!), fsel title,
  254.       Calamus .CFN and .CDK files
  255. v3.4: adds IMG, GEM, MCL, and BBS Express ST files (thanks to Terry May!)
  256.       and more TNY pic varieties (thanks to Jim Ness!), fixes .SPS
  257. v3.3: single version for PRG or ACC, adds hex/ascii display + 3 file types
  258. v3.2: PRG and ACC versions converted into assembler
  259. v3.1: adds Spectrum Sequence files
  260. v3.0: first dialog box version, adds Magic Shadow Archives
  261. v2.2: adds Super Bootdisk disks (thanks to Harold Brewer!)
  262. v2.1: adds TIFF, .PC?, TINY, and Neo animations (thanks to David Ramsden!)
  263. v2.0: first desk accessory version
  264. v1.5: adds WordPerfect document files
  265. v1.4: adds PageStream documents (thanks to James Parry!)
  266. v1.3: corrects Regent Word files, adds *.* for the standard file selector
  267. v1.2: adds one new file type and some error handling
  268. v1.0: first ST version
  269.  
  270.  
  271.  
  272. Appendix 2: The Whatis Server
  273. -----------------------------
  274.  
  275.  
  276. When Whatis is installed as an accessory, specially-written programs can
  277. communicate with Whatis to identify file types.  Whatis uses the standard GEM
  278. message-passing routines to provide this service.  When the Whatis server
  279. completes a request, the small message area in the main title bar will display
  280. the type of file identified the next time the Whatis dialog appears.
  281.  
  282. First your application must determine if Whatis is present.  Use the GEM
  283. appl_find call for this.  NOTE: I recommend using "WHATIS  " as the string for
  284. the search; this means Whatis must be named WHATIS.ACC when it is installed,
  285. or the appl_find won't be able to find it!  Whatis will be distributed as
  286. WHATIS.ACC from now on to help ensure that it has the proper name, but you
  287. should warn users in your documentation about the naming requirement, or allow
  288. users to specify the application's name.
  289.  
  290. Once you've determined Whatis's appl_id, your application should send a GEM
  291. message to Whatis with some information about the file.  This is the format for
  292. the 16-byte message your application sends to Whatis:
  293.  
  294.       Offset      Size      Meaning
  295.       ------      ----      -------
  296.          0        word      message type, must be 'W?' ($573f)
  297.          2        word      the appl_id of your application
  298.          4        word      number of extra bytes (must be zero!!)
  299.          6        long      address of your data buffer (see notes)
  300.         10        long      the size of the file in question (see notes)
  301.         14        word      currently unused; must be zero!
  302.  
  303. Whatis will determine the file type, and return a message to your application.
  304. This is the format of the message Whatis returns:
  305.  
  306.       Offset      Size      Meaning
  307.       ------      ----      -------
  308.          0        word      message type, will always be 'W?' ($573f)
  309.          2        word      Whatis's appl_id
  310.          4        word      number of extra bytes (will always be zero)
  311.          6        long      address of your data buffer (see notes)
  312.         10        long      an error code (see notes)
  313.         14        word      file type ID word (see notes)
  314.  
  315. Notes:
  316.  
  317. The data buffer whose address is passed in the message serves a dual purpose.
  318. Your application must read the first 50 bytes of the file into this buffer and
  319. pass its address to Whatis.  After identifying the file type, Whatis will use
  320. this same buffer to return a string indicating the file type.  (This is the
  321. same string you would see if you identified the file directly from the Whatis
  322. accessory.)
  323.  
  324. IMPORTANT: If the file is under 50 bytes long, the buffer area should be
  325. padded with nulls.
  326.  
  327. NOTE:  Your application should use an fs_first call to determine the size of
  328. the file in question - DO NOT rely on an fs_next call!  In some situations an
  329. fs_next can return the size of a file in compressed form, which may not be
  330. accurate; this may lead to an incorrect identification of the file type. (A
  331. question for anyone using the AFX program included with recent Questor LHARC
  332. utilities:  when AFX is installed, do fs_first and fs_next return the actual
  333. file size as if it were not compressed, or the size of the compressed file?)
  334.  
  335.  
  336. The error code returned by Whatis can have these values:
  337.  
  338.           Code     Meaning
  339.           ----     -------
  340.             0      no error occurred
  341.             1      not used (obsolete; formerly odd data buffer address)
  342.             2      error: the file is too small to identify
  343.  
  344. The file type ID returned in the last word of the message is a unique number
  345. corresponding to a particular type of file.  If your program needs to do more
  346. than simply display a file type message, you may find it easier to check this
  347. ID number and take appropriate action.  Whatis ID numbers are guaranteed not to
  348. change in future versions, and new file types will be assigned new ID numbers
  349. when they are added to Whatis.
  350.  
  351. Whatis ID numbers are divided into several groups; all IDs with a high byte
  352. of 1 indicate MIDI format files, those with a high byte of 2 are other types of
  353. music-related files, a high byte of 3 means a word processing document, and so
  354. on.  An ID number of -1 ($FFFF) indicates that Whatis did not recognize the
  355. type of file.  A current list of all ID numbers and the associated file types
  356. follows this section.
  357.  
  358.  
  359. IMPORTANT NOTE:  Whatis is a copyrighted program.  I retain all rights to
  360. Whatis.  However, Whatis may be distributed with any program, commercial or
  361. otherwise, that is written to access the Whatis Server, under the following
  362. conditions:
  363.  
  364.       1. Both the Whatis executable and this documentation must be
  365.          included with your program.  Neither file may be modified in
  366.          any way, other than compression with ARC, LHARC, or a similar
  367.          program for distribution purposes.
  368.  
  369.       2. The author or distributor of a program that accesses the Whatis
  370.          Server must send one complete copy of the program, including all
  371.          related files and full documentation, to me at the address listed
  372.          above.
  373.  
  374.  
  375.  
  376. Appendix 3: File ID Word/Type Cross-Reference
  377. ---------------------------------------------
  378.  
  379.  
  380. $1xx -- MIDI format x files...
  381.  
  382.     Note, for MIDI format files the low byte is the ASCII value
  383.     corresponding to the format. All $1xx types are reserved.
  384.     Currently I know of these three types, but new MIDI format
  385.     files following the same pattern will automatically show up:
  386.  
  387. $130    MIDI format 0 file (.MFF/.MID)
  388. $131    MIDI format 1 file (.MFF/.MID)
  389. $132    MIDI format 2 file (.MFF/.MID)
  390.  
  391. $2xx -- Other music-related file types
  392.  
  393. $200    Music Studio .SNG file
  394. $201    MasterTracks Pro .MTS file
  395. $202    Notator song file (.SON)
  396. $203    Notator pattern file (.PAT)
  397. $204    Cubase .ALL/ALB song collection
  398. $205    Cubase .PRT/PRB part file
  399. $206    Cubase .PRN printer driver
  400. $207    Cubase .SET/SEB setting file
  401. $208    Cubase .DRM drum file
  402. $209    Cubase .COM Iterative Phrase Synth file
  403. $20a    Cubase .MIX mix file
  404.  
  405. $3xx -- Word processing/document file types
  406.  
  407. $300    Calamus .CDK document
  408. $301    Word Writer ST file
  409. $302    PageStream document
  410. $303    Wordflair II document
  411. $304    ST-Writer file
  412. $305    WordUp file
  413. $306    WordPerfect document
  414. $307    Regent Word file
  415. $308    Timeworks Publish .DTP file
  416. $309    Calligrapher document (.CAL)
  417.  
  418. $4xx -- Desktop publishing and font file types
  419.  
  420. $400    Adobe Font Metrics .AFM file
  421. $401    CompuGraphic font file
  422. $402    SoftLogik Screen Bitmap
  423. $403    PageStream font
  424. $404    encapsulated PostScript (.EPS)
  425. $405    Calamus .CFN font
  426. $406    FSM-GDOS .WID width file
  427. $407    FSM-GDOS .OTL outline font
  428. $408    FSM-GDOS .QFM font metrics file
  429. $409    TeX .dvi device independent file
  430. $40a    TeX .fmt preloaded format file
  431. $40b    TeX .pk font file
  432. $40c    .FNT font file
  433.  
  434. $5xx -- Picture, graphics, animation file types
  435.  
  436. $500    Degas Elite .PC1 pic
  437. $501    Degas .PC2 pic or PostScript .PFB
  438. $502    Degas Elite .PC3 pic
  439. $503    Portfolio .PGC graphics file
  440. $504    Spectrum pic (.SPC or .SPS)
  441. $505    Spectrum Sequence (.SPS) file
  442. $506    compressed KOALA pic
  443. $507    QuickST .QFL file
  444. $508    GIF picture file
  445. $509    TIFF tag image file
  446. $50a    Degas .PI1 pic
  447. $50b    TINY medium-rez pic
  448. $50c    TINY high-rez pic
  449. $50d    TINY low-rez pic
  450. $50e    Spectrum .SPU pic
  451. $50f    256-color NEO pic
  452. $510    1280x960 NEO pic
  453. $511    640x480 NEO pic
  454. $512    Degas .PI3 pic
  455. $513    Degas .PI2 pic
  456. $514    image file (.IMG)
  457. $515    CAD-3D v1 (.3D) file
  458. $516    CAD-3D v2 (.3D2) file
  459. $517    CAD-3D v3 (.3D3) file
  460. $518    Prism-Paint .BRU brush file
  461. $519    Prism-Paint .CFL fill file
  462. $51a    Prism-Paint .MFL fill file
  463. $51b    Prism-Paint .PAL palette
  464. $51c    Prism-Paint .PNT picture
  465. $51d    IFF or DeluxePaint file
  466. $51e    NEOCHROME animation
  467. $51f    Cyber .SEQ animation
  468. $520    .GEM Metafile
  469.  
  470. $6xx -- Compressed disk and file types
  471.  
  472. $600    Super Bootdisk file
  473. $601    SHRINKed disk
  474. $602    DISKCOMMed disk
  475. $603    PKZIP .ZIP file
  476. $604    MASHed file
  477. $605    Magic Shadow Archive (.MSA)
  478. $606    .PAK archive file
  479. $607    ALFCRUNCHed archive
  480. $608    ARCed file
  481. $609    Unix 'compress'ed file
  482. $60a    LHarc archive (.LZH)
  483. $60b    ZOO archive file
  484. $60c    CRUSHed file
  485. $60d    AFX compressed file
  486. $60e    ARJ compresmsed file
  487. $60f    Squeezed file (.?Q?)
  488.  
  489. $7xx -- Executable file types
  490.  
  491. $700    ST program or desk accessory
  492. $701    DC Squished program or ACC
  493. $702    Control Panel Extension (.CPX)
  494. $703    PFX-packed program file
  495. $704    MS-DOS .EXE program file
  496. $705    MS-DOS .COM program file
  497. $706    Pack-Ice packed program or ACC
  498.  
  499. $8xx -- Miscellaneous data file types
  500.  
  501. $800    BLINK .LIB library file
  502. $801    BLINK .PAL palette file
  503. $802    BBS Express ST .COM script
  504. $803    Opus .OPS spreadsheet file
  505. $804    .BTK compiled BackTalk script
  506. $805    DaisyDot .NLQ font
  507. $806    DC DataDiet dietized file
  508. $807    NeoDesk Icon file (.NIC)
  509. $808    HotWire .HOT file
  510. $809    HotWire .LGR ledger file
  511. $80a    MichTron BBS .MCL file
  512. $80b    MultiDesk Deluxe .MLT file
  513. $80c    MultiDesk .MLT file
  514. $80d    PINHEAD.DAT file
  515. $80e    Kuma/Antic A-CHART data file
  516. $80f    Wordflair II record key file
  517. $810    Wordflair II record file
  518. $811    Cal v6 data file
  519. $812    WordPerfect macro file
  520. $813    DC Desktop .ICE icon file
  521. $814    SAVEd BASIC/XE file
  522. $815    SAVEd MAC/65 code
  523. $816    SDX external command
  524. $817    Seurat fill or an 8-bit program
  525. $818    Newdesk Icon Spec (.XIC) file
  526. $819    SDS Deskjet Utils setup file
  527. $81a    SDS Printer Utils setup file
  528. $81b    MWC RCS .RSD resource definition file
  529. $81c    AS/X data file
  530. $81d    Joppa FAX! Normal Rez file
  531. $81e    Joppa FAX! Fine Rez file
  532. $81f    Superzap .ZAP file
  533. $820    STalker 3 .INF file
  534. $821    Hot!Stat configuration file
  535. $822    DESKTOP.INF or NEWDESK.INF file
  536. $823    MugShot .MUG or .INF file
  537. $824    MugShot .MGS data file
  538. $825    .PAC picture file
  539. $826    GEMLABEL .LAB label file
  540. $827    MaxiFile III .CMT comment file
  541. $828    Shredr+ .INF file
  542. $829    Son of SAAS .CFG file
  543. $82a    DNS SAAS .CFG file
  544. $82b    HotWire .WRK work file list
  545. $82c    HotWire .HBL menu block
  546. $82d    FastBase .FB database file
  547. $82e    CodeKeys .KEY macro file
  548. $82f    CodeKeys .LNK link file
  549. $830    CodeKeys .CNF config file
  550. $831    DATADIET.INF file
  551. $832    WARP9.DAT file
  552. $833    Revolver partition 'rollout' file
  553. $834    Scanner Manager data file
  554. $835    LDW Power spreadsheet
  555. $836    GNU C .OLB library file
  556. $837    TADS save file
  557. $838    STDCAT catalog file
  558.  
  559. $9xx -- File types that are hard to distinguish
  560.  
  561. $900    RSC/TNY/NEO/SCRUNCH/Font file
  562. $901    .TNY or hi-rez .NEO pic
  563. $902    SAVEd BASIC, or a .NEO or .TNY pic
  564. $903    .FNT font or hi-rez .TNY pic
  565.  
  566. $ffff   Any unknown type (presumed to be text or data)
  567.  
  568. ======================================================
  569.